<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style>
			.flashsale-countdown {
				box-sizing: border-box;
				padding-top: 39px;
				background: #f1eded;
				height: 300px;
				width: 234px;
				border-top: 1px solid rgb(229, 57, 53);
				text-align: center;
			}

			.round {
				height: 21px;
				line-height: 21px;
				width: 234px;
				font-size: 21px;
				color: rgb(229, 57, 52);
			}

			.flashsale-countdown img {
				margin: 25px;
			}

			.flashsale-countdown .desc {
				width: 234px;
				color: rgba(0, 0, 0, .54);
				font-size: 15px;
			}

			.countdown {
				width: 168px;
				margin: 28px auto;
			}

			.countdown i {
				width: 15px;
				float: left;
				height: 46px;
				line-height: 46px;
				color: #605751;
				font-size: 28px;
				font-style: normal;
			}

			.countdown span {
				width: 46px;
				height: 46px;
				background: #605751;
				color: #fff;
				font-size: 24px;
				line-height: 46px;
				float: left;
			}
		</style>
		<script src="jquery-3.4.1.min.js"></script>
	</head>
	<body>
		<div class="flashsale-countdown">
			<div class="round">
				10:00 场
			</div>
			<img src="data:img/jpg;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAA1CAYAAAAklDnhAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJ
		bWFnZVJlYWR5ccllPAAAAyNpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdp
		bj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6
		eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDE0IDc5LjE1
		MTQ4MSwgMjAxMy8wMy8xMy0xMjowOToxNSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJo
		dHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlw
		dGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6e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
		ijUljsFLv3WhIvKYFphOXNO6OOUMDhKZA7qFcQF85Q6WXeQpeKEpcULlvY8xthp8iwR8I93qLLb7
		KnOsSPWNfhd6Bro99yHqTi9IhyWzEXIsIXbSG7Djt1jbQHsBZkMkyZRs13wpgIRoiJKy7dsBWh1L
		bN5Vt3JFQrQ2XMYeGKBk5yvSI7aRQ4k0eA4uZZlVPM47lDgTZxd6lKb4AcqkLuKSZiIdVGsiVFNc
		xDV9yT1Orekjoe+MDw4pHqwmaJewit66Ql0QaX+DOTaZe4DitAFZxQaaEynKnJ6KCDeaQAtj3A7V
		kBtXIpwT3iFV06zqquaKPKEtKIsM6Mo/StoWiQeMvSCJjO4+54hEwTCjuTk0STgckUm6QxTY3LgU
		Kc+/jyFrblyKCIkKbnPjSkT8HDGV5saVyBAtVHZz40Ik7HNTRtrcuBARF2tQbW5ciCR0mhvbIs2E
		cnNjWySh29zYFGnIK25KzY1Nkdziptzc2BKJUu7Qbm5sicQom2o3NzZEKqiu/DZpbmyIjIAHNBMZ
		7x4iTALjhcgVQSIl3v87w5vePcY/AQYAFYR6skFSqBUAAAAASUVORK5CYII=" alt="小米闪购">
			<div class="desc">
				距离结束还有
			</div>
			<div class="countdown clearfix">
			</div>
		</div>

		<div></div>

		<script>
			var endtime = new Date("2021-5-19 12:00:00");
			setInterval(function() {
				var nowtime = new Date();
				// alert(nowtime);
				var time = endtime - nowtime;
				var hour = parseInt(time / 1000 / 60 / 60 % 24); //小时
				var minute = parseInt(time / 1000 / 60 % 60); //分钟
				var seconds = parseInt(time / 1000 % 60); //秒
				$('.countdown').html('<span>' + hour + '</span>' + '<i>' + ':' + '</i>' + '<span>' + minute + '</span>' + '<i>' + ':' + '</i>' + '<span>' + seconds + '</span>');
			}, 1000);
		</script>
	</body>
</html>
